package com.team.abs.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import com.team.abs.entity.black_man;
import com.team.abs.entity.white_kind;

@Mapper
@Repository
public interface black_white_dao {
	//将种类从白名单清除 
	int delete_white_kind(String item_kind);
	 //将用户拉近黑名单
	 int insert_black_man(black_man black_man);
	 //查询黑名单中用户
	 int search_black_man(String user_uid,int unpower_limit);
	 //查询白名单中种类
	 int search_white_kind(String item_kind);
	 //将用户从黑名单中删除
	 int delete_balck_man(String user_uid);
	 //将种类写入白名单
	 int insert_white_kind(String item_kind);
	 //查询所有黑名单用户
	 List<black_man> search_all_black_man();
	 //查询所有白名单里的种类
	 List<white_kind> search_all_white_kind();
	 
}
